﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/2/13 18:23:57
    /// </summary> 
    [Serializable]
    [ModelMap("Scm_CostActualMain", new string[] { "Cam_ID" })]
    public class ScmCostactualmainInfo : BaseEntity
    {
        public ScmCostactualmainInfo()
        {

        }
        
        
        private string _camId;
        /// <summary>
        /// 费用使用ID
        /// </summary>
        [ColumnMap("Cam_ID", System.Data.DbType.String)]
        public string Cam_ID
        {
            get {return _camId;}
            set
            {
                if (object.Equals(this._camId, value) != true)
                {
                    this._camId = value;
                    this.RaisePropertyChanged("Cam_ID");
                }
            }
        }
        
        
        private int _camOperateuserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Cam_OperateUserID", System.Data.DbType.Int32)]
        public int Cam_OperateUserID
        {
            get {return _camOperateuserid;}
            set
            {
                if (object.Equals(this._camOperateuserid, value) != true)
                {
                    this._camOperateuserid = value;
                    this.RaisePropertyChanged("Cam_OperateUserID");
                }
            }
        }
        
        
        private string _camOperateusername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Cam_OperateUserName", System.Data.DbType.String)]
        public string Cam_OperateUserName
        {
            get {return _camOperateusername;}
            set
            {
                if (object.Equals(this._camOperateusername, value) != true)
                {
                    this._camOperateusername = value;
                    this.RaisePropertyChanged("Cam_OperateUserName");
                }
            }
        }
        
        
        private DateTime _camOperatetime;
        /// <summary>
        /// 操作时间
        /// </summary>
        [ColumnMap("Cam_OperateTime", System.Data.DbType.DateTime)]
        public DateTime Cam_OperateTime
        {
            get {return _camOperatetime;}
            set
            {
                if (object.Equals(this._camOperatetime, value) != true)
                {
                    this._camOperatetime = value;
                    this.RaisePropertyChanged("Cam_OperateTime");
                }
            }
        }
        
        
        private string _camSection;
        /// <summary>
        /// 标段
        /// </summary>
        [ColumnMap("Cam_Section", System.Data.DbType.String)]
        public string Cam_Section
        {
            get {return _camSection;}
            set
            {
                if (object.Equals(this._camSection, value) != true)
                {
                    this._camSection = value;
                    this.RaisePropertyChanged("Cam_Section");
                }
            }
        }
        
        
        private int _camConstructionid;
        /// <summary>
        /// 施工单位ID
        /// </summary>
        [ColumnMap("Cam_ConstructionID", System.Data.DbType.Int32)]
        public int Cam_ConstructionID
        {
            get {return _camConstructionid;}
            set
            {
                if (object.Equals(this._camConstructionid, value) != true)
                {
                    this._camConstructionid = value;
                    this.RaisePropertyChanged("Cam_ConstructionID");
                }
            }
        }
        
        
        private string _camConstructionname;
        /// <summary>
        /// 施工单位名称
        /// </summary>
        [ColumnMap("Cam_ConstructionName", System.Data.DbType.String)]
        public string Cam_ConstructionName
        {
            get {return _camConstructionname;}
            set
            {
                if (object.Equals(this._camConstructionname, value) != true)
                {
                    this._camConstructionname = value;
                    this.RaisePropertyChanged("Cam_ConstructionName");
                }
            }
        }
        
        
        private DateTime _camReporttime;
        /// <summary>
        /// 上报时间
        /// </summary>
        [ColumnMap("Cam_ReportTime", System.Data.DbType.DateTime)]
        public DateTime Cam_ReportTime
        {
            get {return _camReporttime;}
            set
            {
                if (object.Equals(this._camReporttime, value) != true)
                {
                    this._camReporttime = value;
                    this.RaisePropertyChanged("Cam_ReportTime");
                }
            }
        }
        
        
        private DateTime _camYearmonth;
        /// <summary>
        /// 年份
        /// </summary>
        [ColumnMap("Cam_YearMonth", System.Data.DbType.DateTime)]
        public DateTime Cam_YearMonth
        {
            get {return _camYearmonth;}
            set
            {
                if (object.Equals(this._camYearmonth, value) != true)
                {
                    this._camYearmonth = value;
                    this.RaisePropertyChanged("Cam_YearMonth");
                }
            }
        }

        private int _camState;
        /// <summary>
        /// 状态
        /// </summary>
        [ColumnMap("Cam_State", System.Data.DbType.Int32)]
        public int Cam_State
        {
            get { return _camState; }
            set
            {
                if (object.Equals(this._camState, value) != true)
                {
                    this._camState = value;
                    this.RaisePropertyChanged("Cam_State");
                }
            }
        }


    }
}



